package com.bizhibihui.ordermeal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.bizhibihui.ordermeal.vo.base.BaseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author chengrongkai
 * @description:
 * @date 2020/8/19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BizOrder extends BaseVo {

    private static final long serialVersionUID = 3578477956306175100L;

    private String tradeNo;

    private String userId;

    private BigDecimal money;

    private String address;

    private String phone;

    private Integer status;

    private Date completeTime;

    @TableField(exist = false)
    private String userName;


    @TableField(exist = false)
    private String statusStr;

    @TableField(exist = false)
    private List<BizFood> foodList;

}
